2016 project-added to repo
[EroBeats.git] / Djinn and Tonic - Erobeats / LevelSelect.h
blobdb054495d5e900daa0c9ddb136304f21bcb859b7
1 #pragma once
3 #include "FileIO.h"
4 #include "ResourceMaster.h"
5 #include "Fonts.h"
6 #include "Animation.h"
7 #include "SFX.h"
8 #include "ScreenTemplate.h"
11 #include <chrono>
12 #include <SDL\SDL.h>
14 using namespace std;
16 class LevelSelect : ScreenTemplate
18 public:
19 LevelSelect();
20 LevelSelect(int* screenPointer, FileIO* filePntr, ResourceMaster* resourcePointer);
21 ~LevelSelect();
23 void update();
24 void play();
25 void render();
26 void close();
28 int numUserData;
29 int numUserScores;
31 bool hoverLevel1;
32 bool level1Selectable;
33 bool hoverLevel2;
34 bool level2Selectable;
35 bool hoverLevel3;
36 bool level3Selectable;
37 bool hoverLevel4;
38 bool level4Selectable;
39 bool hoverRemix;
40 bool remixSelectable;
41 bool hoverQuit;
42 bool playedOnce;
44 bool* hoverAddress;
45 bool* hoverAddressOld;
47 std::vector<SDL_Texture*> outline;
48 Animation* outlineAnimation;
50 SDL_Rect boxSize;
52 SDL_Texture* textLevel1;
53 SDL_Rect rectLevel1;
54 SDL_Texture* textLevel1Box;
55 SDL_Rect rectLevel1Box;
57 SDL_Texture* textLevel2;
58 SDL_Rect rectLevel2;
59 SDL_Texture* textLevel2Box;
60 SDL_Rect rectLevel2Box;
62 SDL_Texture* textLevel3;
63 SDL_Rect rectLevel3;
64 SDL_Texture* textLevel3Box;
65 SDL_Rect rectLevel3Box;
67 /*SDL_Texture* textLevel4;
68 SDL_Rect rectLevel4;
69 SDL_Texture* textLevel4Box;
70 SDL_Rect rectLevel4Box;
74 SDL_Texture* textRemix;
75 SDL_Rect rectRemix;
76 SDL_Texture* textRemixBox;
77 SDL_Rect rectRemixBox;
79 SDL_Texture* textQuit;
80 SDL_Rect rectQuit;